package cn.ztf.zshop.storage.service;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * 存储模块的顶层接口
 */
public interface Storage {

    void create(InputStream inputStream, String fileName);

    InputStream getObject(String fileName);

    void download(String fileName, OutputStream outputStream);

}
